package com.eastfair.venueservice.dto;

import com.eastfair.projectcore.enumeration.DataIsolationSystemSceneEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 实体类
 * 价目表
 * </p>
 *
 * @author linan
 * @since 2022-07-21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "ServicePriceListPageQuery", description = "价目表")
public class ServicePriceListQuery implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @ApiModelProperty(value = "主键")
    @NotNull(message = "展会ID不能为空",groups = Update.class)
    private Long id;

    /**
     * 价目编号
     */
    @ApiModelProperty(value = "价目编号")
    private String priceListNo;

    /**
     * 价目名称
     */
    @ApiModelProperty(value = "价目名称")
    private String priceListName;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private Long createdBy;

    /**
     * 创建时间开始
     */
    @ApiModelProperty(value = "创建时间开始")
    private LocalDateTime createTimeStart;

    /**
     * 创建时间结束
     */
    @ApiModelProperty(value = "创建时间结束")
    private LocalDateTime createTimeEnd;
    /**
     * 展会id
     */
    @ApiModelProperty(value = "展会id")
    @NotNull(message = "展会ID不能为空",groups = Query.class)
    private Long exhibitionManageId;
    /**
     * 系统场景
     */
    @ApiModelProperty(value = "系统场景")
    @NotNull(message = "系统场景不能为空",groups = Query.class)
    private DataIsolationSystemSceneEnum systemScene;
    /**
     * 只返回当前展会价目
     */
    @ApiModelProperty(value = "只返回当前展会价目 0否 1是")
    private Integer onlyThisExhibition;

    public interface Query{};

    public interface Update{};

}
